home *** CD-ROM | disk | FTP | other *** search
- var wo;
-
- function ISRILanywhere()
- {
-
- }
-
- ISRILanywhere.prototype = {
- _init : function() {
-
- Components.utils.import("resource://rilglobals/ISRILglobals.js");
-
- if ( !ISRILprefs.prefB('feed') ) {
- ISRILxul.bip('OnlineOff').hidden = false;
- ISRILxul.bip('EditButtons').hidden = false;
- } else if ( !ISRILprefs.prefB('sync') ) {
- ISRILxul.bip('SyncOff').hidden = false;
- ISRILxul.bip('EditButtons').hidden = false;
- } else {
- ISRILxul.bip('LoginInfo').hidden = false;
- ISRILxul.bip('GoButtons').hidden = false;
- }
- },
-
- OpenSyncOptions : function() {
- window.addEventListener("unload", function() { ISRILxul.OpenOptions('sync'); }, false);
- },
-
- Go : function(p) {
- p = ((p)?(p):('unread'));
- ISRILprefs.setPref('online-access-prompt', !ISRILxul.bip('DontShow').checked);
- ISRIL.online(p);
- ISRILxul.bip('Anywhere').cancelDialog();
- },
-
- Cancel : function() {
- return true;
- },
-
-
- }
-
- var ISRILanywhere = new ISRILanywhere();